package com.example.boxueguapplication.model;


import androidx.annotation.IdRes;

import com.orm.SugarRecord;
import com.orm.dsl.Unique;

public class ShiPin extends SugarRecord {
    @Unique
    private Long id;
    private String title;
    private String context;
    private Integer bg;

    public ShiPin() {
    }

    @Override
    public String toString() {
        return "ShiPin{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", context='" + context + '\'' +
                '}';
    }

    public ShiPin(Long id, String title, String context,Integer bg) {
        this.id = id;
        this.title = title;
        this.context = context;
        this.bg=bg;
    }

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Integer getBg() {
        return bg;
    }

    public void setBg(Integer bg) {
        this.bg = bg;
    }
}
